const { src, dest } = require('gulp');
const rename = require("gulp-rename")
const cleanCss = require("gulp-clean-css")

exports.default = () => {
    return src("src/css/*.css").
        pipe(cleanCss()).
        pipe(rename({
            extname: ".min.css"
        })).
        pipe(dest("dist/css/"))
}